home *** CD-ROM | disk | FTP | other *** search
- Im having a spot of bother. Im trying to work out the top and bottom
- coordinates for an irregular shape box. Heres what I mean:
-
- top left: 5,5 top right: 75,20
-
-
-
- bot left 5,105 bot right: 75,90
-
-
- As you can probably work out, the box is not the same height on both sides.
- I would like to know how to find the top and bottom line coords (where the
- pixel is) in the fastest possible way, using an algorythm that can work this
- out no matter what size the other sides are.
-
- The routine I have at the moment uses IF...ENDIF to find it, but it is way
- too slow.
-
- Thanks in advance
-
- Mush
-
- --------******( Extreme AMOS )******--------
-
- The best AMOS homepages around, full of downloads, and my AMOS disk
- magazine. Order games and utilities directly from the library, for FREE.
-
- See my homepages at http://www.mushy-pd.demon.co.uk or
- http://members.tripod.com/~mushypd for more information.
-
- Email: mpd@mushy-pd.demon.co.uk mpd@computer4u.com
- mushy_pd@hotmail.com
-
- Look for Mush now on IPhone in AMOS!!
- ICQ No. - 778243 (talk to me!!)
-
-
-